package io.jee.runshan.domain.remote.qiye.request;

import io.jee.runshan.utils.QiyeConstant;

public class MessageSendData {
	private String touser;// 员工ID列表（消息接收者，多个接收者用‘|’分隔，最多支持1000个）。特殊情况：指定为@all，则向关注该企业应用的全部成员发送
	private String toparty; // 部门ID列表，多个接收者用‘|’分隔，最多支持100个。当touser为@all时忽略本参数
	private String totag; // 标签ID列表，多个接收者用‘|’分隔。当touser为@all时忽略本参数
	private String msgtype; // text|image|voice|video|file|news|mpnews|
	private Integer agentid = QiyeConstant.getAgentid(); // 企业应用的id，整型。可在应用的设置页面查看
	private Integer safe = 0; // 表示是否是保密消息，0表示否，1表示是，默认0

	public String getTouser() {
		return touser;
	}

	public void setTouser(String touser) {
		this.touser = touser;
	}

	public String getToparty() {
		return toparty;
	}

	public void setToparty(String toparty) {
		this.toparty = toparty;
	}

	public String getTotag() {
		return totag;
	}

	public void setTotag(String totag) {
		this.totag = totag;
	}

	public String getMsgtype() {
		return msgtype;
	}

	public void setMsgtype(String msgtype) {
		this.msgtype = msgtype;
	}

	public Integer getAgentid() {
		return agentid;
	}

	public void setAgentid(Integer agentid) {
		this.agentid = agentid;
	}

	public Integer getSafe() {
		return safe;
	}

	public void setSafe(Integer safe) {
		this.safe = safe;
	}

	public static final String TEXT_TYPE = "text";
	public static final String IMAGE_TYPE = "image";
	public static final String VOICE_TYPE = "voice";
	public static final String VIDEO_TYPE = "video";
	public static final String FILE_TYPE = "file";
	public static final String NEWS_TYPE = "news";
	public static final String MPNEWS_TYPE = "mpnews";
}
